import java.util.Scanner;


public class E3w3hd4805q {

	private static char[] original = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', ' ', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0' };
	private static char[] encripta = new char[]{'q', 'g', 'd', 'e', '3', 'r', 't', 'y', '8', 'u', 'i', 'o', 'j', 'h', '9', '0', '1', '4', 'w', '5', '7', 'f', '2', 's', '6', 'a', ' ', 'z', 'x', 'c', 'v', 'b', 'n', 'm', ',', '.', '-' };

	public E3w3hd4805q() {
		Scanner sc = new Scanner(System.in);
		
		System.out.print("*: ");
		String cadena = sc.nextLine().toLowerCase();
		
		String fuaChaval = "";
		
		for(char c: cadena.toCharArray()){
			for(int i=0; i<encripta.length; i++){
				if(c == encripta[i]){
					Character vale = original[i];
					fuaChaval+=vale.toString().toLowerCase();
				}
			}
		
		}
		
		System.out.println("-: "+fuaChaval);
	}
}
